const TOKEN = 'AUTHTOKEN';
/**
 * @param {Object} token
 * 储存token
 */
export const setToken = (token) => {
	uni.setStorageSync(TOKEN, token);
}

/**
 * 获取token
 * @return {any}
 */
export const getToken = () => {
	return uni.getStorageSync(TOKEN);
}

/**
 * 移除token
 */
export const removeToken = () => {
	uni.removeStorageSync(token);
}